/* pages/snap-up-detail/snap-up-detail.wxss */
page {
  background-color: #f8f8f8;
}
.container {
  padding-bottom: calc(120rpx + constant(safe-area-inset-bottom));
  padding-bottom: calc(120rpx + env(safe-area-inset-bottom));
}
clearfix::after {
  display: block;
  content: '';
  clear: both;
}
image {
  width: 100%;
  height: 100%;
}
.goods-img {
  width: 100%;
  height: 650rpx;
}
.display {
  display: none;
}
.sub {
  font-size: 23rpx;
}

/* 倒计时栏 */
.countdown-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ff6d13;
  color: #fff;
  padding: 24rpx 12rpx;
  box-sizing: border-box;
}
.second-kill {
  font-size: 32rpx;
}
.countdown-content {
  font-size: 28rpx;
  text-align: left;
}
.countdown-tips {
  font-size: 28rpx;
  margin-right: 10rpx;
}
.countdown-time {
  padding-top: 0rpx;
}

/* 商品信息 */
.goods-msg {
  position: relative;
  box-sizing: border-box;
  padding: 20rpx;
  margin-bottom: 20rpx;
  background-color: #ffffff;
}
.goods-title {
  font-size: 30rpx;
}
/* 价格 */
.goods-price {
  padding: 15rpx 0;
  border-bottom: 1px solid #f3f3f3;
}
.current-price {
  display: inline-block;
  color: #ff6d13;
  font-size: 34rpx;
  margin-right: 15rpx;
  vertical-align: middle;
}
.original {
  display: inline-block;
  font-size: 26rpx;
  color: #999;
  margin-top: 15rpx;
}
.original-price {
  font-size: 28rpx;
  text-decoration: line-through;
  color: #aaa;
  margin-left: 10rpx;
}
/* 拼团价格 */
.condition {
  font-size: 28rpx;
  border: 1rpx solid #ff6d13;
  padding: 4rpx 10rpx;
  border-radius: 8rpx;
  vertical-align: middle;
}

/* 运费&库存 */
.other-infor {
  font-size: 26rpx;
  color: #999;
  padding-top: 15rpx;
  text-align: left;
}
.inventory + .inventory {
  margin-left: 20rpx;
}

/* 拼团详情 */
.spell-infor {
  border-bottom: 20rpx solid #f7f7f7;
  font-size: 28rpx;
  padding: 20rpx;
}
.spell-infor-title {
  font-size: 26rxp;
}
.spell-infor-content {
  position: relative;
  padding-top: 15rpx;
  padding-bottom: 15rpx;
  border-bottom: 1rpx solid #f2f2f2;
}
.head-img {
  display: inline-block;
  width: 80rpx;
  height: 80rpx;
  margin-right: 15rpx;
}
.spell-msg {
  display: inline-block;
  vertical-align: top;
  font-size: 24rpx;
}
.spell-text {
  padding-top: 10rpx;
  color: #aaa;
}
.red-font {
  color: #ff6d13;
}
.join-group {
  position: absolute;
  right: 10rpx;
  bottom: 30rpx;
  color: #ff6d13;
  border: 1rpx solid #ff6d13;
  padding: 10rpx 15rpx;
  font-size: 24rpx;
}
.rules {
  position: relative;
  font-size: 25rpx;
  padding-top: 20rpx;
}
.rules-text02 {
  float: right;
  font-size: 23rpx;
  color: #aaa;
  padding-right: 30rpx;
}
.right-arrow {
  position: absolute;
  right: 5rpx;
  top: 20rpx;
  display: inline-block;
  width: 20rpx;
  height: 20rpx;
}

/* 预计开始时间 */
.expect-start {
  border-top: 1px solid #f2f2f2;
  margin-top: 15rpx;
  font-size: 23rpx;
  color: #999;
  padding-top: 15rpx;
}
.second-kill-icon {
  margin-right: 15rpx;
  color: #ff6d13;
  padding: 4rpx 8rpx;
  border: 1px solid #ff6d13;
  font-size: 20rpx;
}

/* 选择规格 */
.sku {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 20rpx;
  background: #fff;
  padding: 30rpx 20rpx;
  margin-top: 20rpx;
}
.sku-tit {
  font-size: 22rpx;
  color: #999;
  margin-right: 20rpx;
}

.sku-con {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 28rpx;
  font-weight: bold;
  max-width: 77%;
  /* margin: 0 50rpx 0 100rpx; */
}
.more-icon {
  position: absolute;
  right: 20rpx;
  width: 60rpx;
  top: 16rpx;
  text-align: right;
  font-size: 40rpx;
  color: #999;
  letter-spacing: 1px;
}
/* .more-icon image {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
} */

/* 商品详情 */
.prod-detail {
  background-color: #ffffff;
  margin: 20rpx 0 80rpx 0;
}

/* 店铺 */
.shop-box {
  position: relative;
  padding: 30rpx 20rpx;
  font-size: 28rpx;
  border-bottom: 1rpx solid #f2f2f2;
  margin-bottom: 90rpx;
}
.shop-icon {
  display: inline-block;
  width: 50rpx;
  height: 50rpx;
  margin-left: 20rpx;
  margin-right: 30rpx;
  vertical-align: middle;
}
.shop-name {
  vertical-align: middle;
}

/* 评价 */
.estimate {
  border-top: 20rpx solid #f7f7f7;
  border-bottom: 20rpx solid #f7f7f7;
  font-size: 25rpx;
  padding: 25rpx 20rpx;
  text-align: left;
  margin-bottom: 150rpx;
}
.estimate-num {
  float: right;
  font-size: 23rpx;
  color: #999;
}

/* 立即抢购 */
.buynow {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 80rpx;
  padding: 0 20rpx;
  box-sizing: border-box;
  background: #fff;
}
.buynow-btn {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 30rpx;
  background: #ff6d13;
  width: 100%;
  line-height: 90rpx;
  margin: 20rpx 0;
  border-radius: 60rpx;
}
/* 零售价goumai */
.retail-price-buy {
  background: #ff8854;
}

/** 底部按钮 */
.foot-box {
  margin-top: 100rpx;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  height: 90rpx;
  background: #fff;
  box-shadow: 10rpx 0 10rpx 0 #f0f0f0;
}
.foot-btn {
  display: inline-block;
  width: 125rpx;
  font-size: 20rpx;
  color: #666;
  text-align: center;
  padding-top: 8rpx;
  background: #fff;
}
.foot-btn > image {
  display: block;
  width: 50rpx;
  height: 50rpx;
  margin: 0 auto;
}
.buy-btn {
  display: inline-block;
  font-size: 30rpx;
  height: 90rpx;
  line-height: 95rpx;
  vertical-align: top;
  width: 33.3%;
  color: #fff;
  text-align: center;
}
.alone-buy {
  background: #fe8854;
}
.group-buy {
  background: #ff6d13;
}

/* 购物车数量显示 */
.cart-footer .btn .badge {
  position: absolute;
  top: 20rpx;
  left: 62rpx;
  display: inline-block;
  width: 28rpx;
  height: 28rpx;
  border-radius: 14rpx;
  background-color: rgb(250, 81, 81);
  text-align: center;
  line-height: 28rpx;
  font-size: 18rpx;
  color: #fff;
}
.cart-footer .btn .badge-1 {
  width: 36rpx;
}
.cart-footer .btn .badge-2 {
  width: 48rpx;
  left: 52rpx;
}
/** end  底部按钮 */

/* 弹框 */
/*模态框*/
.modals {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.modals-cancel {
  position: absolute;
  z-index: 190;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.bottom-dialog-body {
  position: absolute;
  z-index: 200;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  background-color: #fff;
}
/*动画前初始位置*/
.bottom-pos {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
/* 上部内容 */
.top-content {
  position: relative;
  border-bottom: 1px solid #f2f2f2;
  font-size: 26rpx;
  padding: 20rpx 15rpx;
}
.top-content-img-box {
  display: inline-block;
  width: 140rpx;
  height: 140rpx;
  background: #f2f2f2;
  vertical-align: middle;
}
.top-content-img-box > image {
  width: 100%;
  height: 100%;
}
.goods-msg-box {
  display: inline-block;
  width: 68%;
  margin-left: 20rpx;
  vertical-align: middle;
}
.goods-names {
  line-height: 1.5em;
  color: #000;
  font-size: 28rpx;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.group-tips {
  font-size: 20rpx;
  color: #ff6d13;
  padding: 0.3em 0;
  padding-top: 0;
}
.goods-prices {
  font-size: 28rpx;
  color: #ff6d13;
  margin-top: 8rpx;
}
.rmb-symbol {
  font-size: 30rpx;
}
.close-btn {
  position: absolute;
  display: block;
  right: 20rpx;
  top: 20rpx;
  width: 46rpx;
  height: 46rpx;
  /* background: url("https://mall-1312577323.cos.ap-chengdu.myqcloud.com/mall/icon/close.png");
  background-size: 100% 100%; */
  z-index: 250;
}
.close-btn > image {
  width: 100%;
  height: 100%;
}

/* 颜色选择 */
.choose-color-box {
  padding: 20rpx;
  font-size: 28rpx;
  border-bottom: 1px solid #f2f2f2;
}
.color-txt {
  margin-bottom: 15rpx;
}
.color-box {
  display: block;
  box-sizing: border-box;
}
.color-item {
  display: inline-block;
  padding: 0 16px;
  max-width: 270px;
  overflow: hidden;
  line-height: 2em;
  text-align: center;
  margin-left: 10px;
  margin-top: 10px;
  color: #333;
  background-color: #f7f7f7;
  font-size: 24rpx;
  border: 1px solid #aaa;
  border-radius: 60rpx;
}
.color-item.gray {
  background-color: #f9f9f9;
  color: #ddd;
}
.color-item.dashed {
  border: 1px dashed #ccc;
}
.color-item-current {
  background: #ff6d13;
  color: #fff;
  border: 1px dashed #ff6d13 !important;
}

/* 数量选择 */
.quantity {
  padding: 1em;
  font-size: 28rpx;
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: calc(140rpx + constant(safe-area-inset-bottom));
  padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-text {
  line-height: 1.5em;
}
.left-text-bottom {
  font-size: 26rpx;
  color: #999;
}
.left-text-bottom-max-num {
  color: #f00;
}
/* choose-quantity */
.right-choose {
  margin-right: 10rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}
.subtract,
.show-num,
.add {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  color: #666;
  width: 60rpx;
  height: 60rpx;
  line-height: 60rpx;
  text-align: center;
}
.show-num {
  width: 70rpx;
  margin: 0 10rpx;
}

/* 确认按钮 */
.confirm-btn {
  position: fixed;
  bottom: 0;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
  left: 0;
  width: 100%;
  display: flex;
  padding: 0 20rpx;
  box-sizing: border-box;
  z-index: 6;
}
.confirm-btn .confirm {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-size: 30rpx;
  flex-flow: column;
  border-radius: 60rpx;
  padding: 26rpx 0;
  margin: 0 6rpx;
  background: #ff6d13;
  color: #fff;
  line-height: 1.2em;
  text-align: center;
  margin-bottom: 10rpx;
}
.confirm-btn.gray .confirm {
  background-color: #f5f5f5;
  color: #aaa;
}

/* 底部弹框end */

/* 悬浮按钮 */
.suspension-box {
  position: fixed;
  bottom: 200rpx;
  right: 40rpx;
  z-index: 9;
}
.scroll-top {
  top: 75%;
}
.suspension-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  background: #fff;
  /*border: 1rpx solid #ccc;*/
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin-top: 30rpx;
}
button.btn-type {
  background: #fff;
  padding: 0;
  margin: 0;
  margin-top: 30rpx;
}
button.btn-type::after {
  border: 0;
}
.suspension-btn image {
  display: block;
  width: 40rpx;
  height: 40rpx;
}
/* /悬浮按钮 */

/** 评价*/

.cmt-wrap {
  background: #fff;
  margin-top: 20rpx;
  position: relative;
  line-height: 48rpx;
}

.cmt-tit {
  font-size: 32rpx;
  position: relative;
  border-bottom: 1px solid #ddd;
  padding: 20rpx;
}

.cmt-t {
  width: 90%;
}

.cmt-good {
  color: #ff6d13;
  font-size: 24rpx;
  padding-left: 20rpx;
}

.cmt-count {
  position: absolute;
  right: 20rpx;
  top: 20rpx;
  font-size: 24rpx;
  color: #666;
}

.arrow {
  width: 15rpx;
  height: 15rpx;
  border-top: 3rpx solid #b3b3b3;
  border-right: 3rpx solid #b3b3b3;
  transform: rotate(45deg);
  display: inline-block;
}

.cmt-cont {
  padding: 0 20rpx;
}

.cmt-tag {
  position: relative;
  padding: 14px 3px 0 0;
  margin: 0;
}

.cmt-tag text {
  margin: 0 8px 10px 0;
  background: #fdf0f0;
  display: inline-block;
  padding: 0 8px;
  height: 25px;
  border-radius: 3px;
  line-height: 25px;
  font-size: 12px;
  font-family: -apple-system, Helvetica, sans-serif;
  color: #666;
}

.cmt-tag .last-text {
  margin: 0;
}

.cmt-tag text.selected {
  color: #fff;
  background: #e93b3d;
}

.cmt-item {
  position: relative;
  padding: 10px 0;
}
.cmt-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.cmt-user {
  line-height: 25px;
  margin-bottom: 8px;
  font-size: 12px;
}

.cmt-user-info {
  display: flex;
  align-items: center;
  max-width: 80%;
}

.cmt-user .user-img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  vertical-align: middle;
}

.cmt-user .nickname {
  margin-left: 20rpx;
  margin-right: 20rpx;
  display: inline-block;
  color: #333;
}
.cmt-user .nickname .name-star {
  display: flex;
  align-items: center;
}
.cmt-user .nickname .name {
  margin-right: 10rpx;
  max-width: 260rpx;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmt-user .stars {
  display: flex;
  margin-left: 3px;
}

.cmt-user .stars image {
  width: 35rpx;
  height: 35rpx;
}

.cmt-user .date {
  float: right;
  color: #999;
  margin-left: -60px;
}

.cmt-cnt {
  position: relative;
  line-height: 1.5;
  font-size: 14px;
  margin: 5px 0;
  word-wrap: break-word;
  word-break: break-all;
}

.cmt-attr {
  height: 85px;
  width: 100%;
  white-space: nowrap;
}

.cmt-attr .img-wrap {
  width: 85px;
  height: 85px;
  display: inline-block;
}

.cmt-attr image {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 2px;
  background: #f3f3f3;
}

.cmt-more-v {
  text-align: center;
  background-color: #fff;
  font-size: 12px;
}

.cmt-more-v text {
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  text-align: center;
  color: #333;
  padding: 0px 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 40px;
  display: inline-block;
}

/** 底部按钮 */

.cart-footer {
  position: fixed;
  bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row nowrap;
  height: 110rpx;
  z-index: 3;
  background: #fff;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.cart-footer .btn,
.footer .btn {
  position: relative;
  display: flex !important;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  flex-flow: column;
  line-height: 1.5em;
  font-size: 28rpx;
}

.cart-footer .btn.icon {
  flex-grow: 0;
  flex-shrink: 0;
  width: 100rpx;
  font-size: 23rpx;
  color: #666;
}

.cart-footer .btn.icon image {
  width: 54rpx;
  height: 54rpx;
}

.cart-footer .btn.cart {
  background: #584e61;
  color: #fff;
  margin: 0 12rpx;
  font-size: 30rpx;
  width: 120rpx;
}

.cart-footer .btn.buy {
  background: #ff6d13;
  color: #fff;
  margin-right: 12rpx;
  font-size: 30rpx;
  width: 120rpx;
}

.cart-footer .btn.pre-sale-buy {
  background: #ff8854;
  color: #fff;
  margin-right: 12rpx;
  font-size: 30rpx;
}

.cart-radius {
  border-radius: 60rpx;
  height: 2.8em;
  line-height: 2.8em;
}

.cart-footer.gray .btn.cart,
.cart-footer.gray .btn.buy {
  display: block;
  background: #ddd;
}

.cart-footer .btn .badge {
  position: absolute;
  top: 8rpx;
  left: 54rpx;
  display: inline-block;
  width: 28rpx;
  height: 28rpx;
  border-radius: 14rpx;
  background-color: rgb(250, 81, 81);
  text-align: center;
  line-height: 28rpx;
  font-size: 18rpx;
  color: #fff;
}

.cart-footer .btn .badge-1 {
  width: 36rpx;
}

.cart-footer .btn .badge-2 {
  width: 48rpx;
  left: 52rpx;
}

/** end  底部按钮 */

/** 评价弹窗 */

.cmt-popup {
  /*  position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 88; */
  height: 100vh;
  background-color: #fff;
  /* padding-bottom: 98rpx; */
}

/* 没有评价时候的样式 */
.cmt-no-popup {
  height: 100vh;
  background-color: #fff;
}

.cmt-popup .cmt-cont {
  height: calc(100% - 80rpx);
  overflow: auto;
  box-sizing: border-box;
}

.cmt-popup .cmt-cnt {
  -webkit-line-clamp: 20;
  max-height: 500px;
}

.cmt-reply {
  font-size: 14px;
  border-top: 1px dashed #ddd;
  padding: 5px 0;
}

.cmt-reply .reply-tit {
  color: #ff6d13;
}

.cmt-reply .reply-content {
  word-wrap: break-word;
}

.cmt-popup .load-more {
  font-size: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.cmt-popup .load-more text {
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 10px;
  color: #666;
}

.close {
  color: #3d3d3d;
  border-radius: 12px;
  line-height: 20px;
  text-align: center;
  height: 20px;
  width: 20px;
  font-size: 18px;
  padding: 1px;
  top: 10px;
  right: 10px;
  position: absolute;
}
